/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Service;

import java.util.List;
import javabeans.Event;
import javabeans.GroupPlan;
import javabeans.Plan;

/**
 *
 * @author liweijiao
 */
public interface GroupPlanService {

    public GroupPlan newGroupPlan(String planname, String descrip);

    public GroupPlan getGroupPlan(int gpID);

    public boolean deleteGroupPlan(GroupPlan gplan);

    public Event addGroupEvent(String ename, String etype, String starttime, String endtime, String edescript, double x, double y, String c, GroupPlan groupplan);

    public Event modifyGroupEvent(int eid, String ename, String etype, String starttime, String endtime, String edescript, double x, double y, String c, GroupPlan groupplan);

    public boolean deleteGroupEvent(int eventid, int groupplanid);

    public List<Event> getGroupEventList(int groupplanid);

    public List<GroupPlan> viewAllGroupPlan();
}
